WeDevs\Dokan\Commission A

Total Complexity 51
Dependencies 10
Dependents 0
Total lines 556
Lines of code 210
Logical lines of code 120
Comment lines 281
Methods 23
Properties 3

Methods 23

Method Rating Maintainability Complexity Lines of code
get_earning_by_order()
A
48 9 30
get_commission()
A
49 9 29
get_earning_by_product()
S
51 6 23
get_earning_from_order_table()
S
55 4 20
validate_rate()
S
69 4 6
calculate_commission()
S
52 1 26
get_all_order_to_be_processed()
S
66 2 9
get_legacy_commission_types()
S
68 1 7
get_processing_fee()
S
75 1 4
get_total_shipping_tax_refunded()
S
75 1 4
get_shipping_tax_fee_recipient()
S
75 1 4
get_tax_fee_recipient()
S
75 1 4
get_shipping_fee_recipient()
S
75 1 4
calculate_gateway_fee()
S
75 1 4
get_vendor_wise_type()
S
75 1 4
set_order_id()
S
76 1 4
get_vendor_wise_rate()
S
75 1 4
get_order_qunatity()
S
76 1 4
set_order_qunatity()
S
76 1 4
get_order_item_id()
S
76 1 4
get_order_id()
S
76 1 4
set_order_item_id()
S
75 1 4
get_vendor_wise_additional_fee()
S
75 1 4